#carouselExample .carousel-control-prev,
#carouselExample .carousel-control-next {
    background: none; /* Elimina el fondo circular */
    border: none;
    padding: 0;
    width: 50px; /* Fixed width for clickable area */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#carouselExample .carousel-control-prev svg,
#carouselExample .carousel-control-next svg {
    width: 50px; /* Ajusta tamaño de la flecha */
    height: 50px;
    fill: rgb(97, 96, 96); /* Color de la flecha */
    transition: transform 0.3s ease, fill 0.3s ease; /* Suaviza animaciones */
    pointer-events: auto; /* Permite que el cursor solo afecte la flecha */
}

#carouselExample .carousel-control-prev:hover svg,
#carouselExample .carousel-control-next:hover svg {
    transform: scale(1.2); /* Aumenta tamaño al pasar el cursor */
    fill: #000000; /* Cambia color al hacer hover */
}

#carouselExample .carousel-control-prev,
#carouselExample .carousel-control-next {
    pointer-events: none; /* Evita que el cursor afecte el fondo del botón */
}

#carouselExample .carousel-control-prev {
    left: -60px; /* Move left arrow outside */
}

#carouselExample .carousel-control-next {
    right: -60px; /* Move right arrow outside */
}

/* Estilos base del carrusel */
#carouselExample {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    position: relative; /* Added for absolute positioning of arrows */
}

@media (max-width: 1300px) {
    #carouselExample .carousel-control-prev {
        left: -40px;
    }
    
    #carouselExample .carousel-control-next {
        right: -40px;
    }
}

@media (max-width: 992px) {
    #carouselExample .carousel-control-prev {
        left: -30px;
    }
    
    #carouselExample .carousel-control-next {
        right: -30px;
    }
}

@media (max-width: 426px) { 
    #carouselExample {
        padding-top: 30px !important;
    }
}

@media (min-width: 427) and (max-width: 768px)  { 
    carouselExample {
        padding-top: 30px !important;
    }
}

@media (max-width: 321px) {
    #carouselExample .carousel-control-prev svg,
    #carouselExample .carousel-control-next svg {
        width: 30px; /* Ajusta tamaño de la flecha */
        height: 30px;
        margin-top: 25px !important;
    }   
}

@media (min-width: 375px) and (max-width: 426px) {
    #carouselExample .carousel-control-prev svg,
    #carouselExample .carousel-control-next svg {
        width: 40px; /* Ajusta tamaño de la flecha */
        height: 40px;
        margin-top: 25px !important;
    }   
}

.custom-img {
    max-width: 1200px; /* Ajustado al mismo ancho máximo */
    width: 100%; /* Se ajusta automáticamente */
}

/* 📌 Pantallas medianas (tablets) */
@media (max-width: 1041px) { 
    .custom-img {
        max-width: 100%; /* Ajustado para mantener proporción */
        width: 100%;
    }
}

/* 📌 Pantallas pequeñas (móviles) */
@media (max-width: 768px) { 
    .custom-img {
        max-width: 100%;
    }
}

/* 📌 Pantallas muy pequeñas */
@media (max-width: 480px) { 
    .custom-img {
        max-width: 100%;
    }
}

.custom-img2 {
    max-width: 1200px; /* Tamaño máximo en pantallas grandes */
    width: 100%; /* Se ajusta automáticamente */
}

/* 📌 Pantallas medianas (tablets) */
@media (max-width: 1041px) { 
    .custom-img2 {
        max-width: 100%;
        width: 100%;
    }
}

/* 📌 Pantallas pequeñas (móviles) */
@media (max-width: 768px) { 
    .custom-img2 {
        max-width: 100%;
    }
}

/* 📌 Pantallas muy pequeñas */
@media (max-width: 480px) { 
    .custom-img2 {
        max-width: 100%;
    }
}

.carousel-inner {
    width: 100%; /* Cambiado de 80% a 100% */
    overflow: hidden;
    text-align: center;
    margin: auto;
}

.carousel-item {
    transition: transform 0.5s ease-in-out !important; /* Reduce el tiempo de animación */
}

.custom-indicators {
    text-align: center;
    margin-top: 20px; /* Ajusta la separación con el carrusel */
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #a4a6a8;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #000000;
    transform: scale(1.2); /* Aumenta el tamaño del indicador activo */
}